﻿using System;

/// <summary>
/// T_Certificate 的摘要说明
/// </summary>
namespace Certificate
{
    public class TCertificate
    {
        #region Model
        private int _id;
        private int _userid;
        private string _name;
        private string _url;
        private string _organization;
        private DateTime _licencedate;
        private DateTime _expirydate;
        private DateTime _adddate;
        private string _companyname;
        /// <summary>
        /// 
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int UserID
        {
            set { _userid = value; }
            get { return _userid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Name
        {
            set { _name = Base.Common.FilterHtml(value); }
            get { return _name; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string URL
        {
            set { _url = Base.Common.FilterHtml(value); }
            get { return _url; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Organization
        {
            set { _organization = Base.Common.FilterHtml(value); }
            get { return _organization; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime LicenceDate
        {
            set { _licencedate = value; }
            get { return _licencedate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime ExpiryDate
        {
            set { _expirydate = value; }
            get { return _expirydate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime AddDate
        {
            set { _adddate = value; }
            get { return _adddate; }
        }
        /// <summary>
        /// 公司名称
        /// </summary>
        public string CompanyName
        {
            set { _companyname = Base.Common.FilterHtml(value); }
            get { return _companyname; }
        }
        #endregion Model
    }
}
